package com.stylefeng.guns.modular.system.service.impl;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.common.persistence.dao.TCooperationDotMapper;
import com.stylefeng.guns.common.persistence.model.TCooperationDot;
import com.stylefeng.guns.modular.system.service.ITCooperationDotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xijie123
 * @since 2018-01-30
 */
@Service
public class TCooperationDotServiceImpl extends ServiceImpl<TCooperationDotMapper, TCooperationDot> implements ITCooperationDotService {

    @Autowired
    TCooperationDotMapper cooperationDotMapper;
    @Override
    public List<Map<String, Object>> selectList(Pagination page, Map m) {
        return cooperationDotMapper.selectList(page,m);
    }

    @Override
    public List<TCooperationDot> selectListByDotNameAndDeptId(TCooperationDot tCooperationDot) {
        return cooperationDotMapper.selectListByDotNameAndDeptId(tCooperationDot);
    }
}
